<?php

namespace application\entity\db;

/**
 * @document(city)
 */
class City {

    /**
     * @id
     * @col(name=id, type=int, identity=true)
     * @comment(Mã)
     */
    public $id;

    /**
     * @col(name=name, type=varchar, length=50, index=unique)
     * @comment(Tên thành phố)
     */
    public $name;

    /**
     * @col(name=position, type=int, index=index)
     * @comment(Vị trí)
     */
    public $position;

}
